From: Matthew Daley Date: Fri, 8 Nov 2013 00:32:03 +0000 (+1300) Subject: xen/arm: correct duplicate MPIDR check to actually skip the node X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5925 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=9b6b1b815c500d142ba4f13d5cd1929e385c56b6;p=xen.git xen/arm: correct duplicate MPIDR check to actually skip the node Signed-off-by: Matthew Daley Acked-by: Julien Grall --- diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index b836be4e4d..6c90fa6fc5 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -161,9 +161,11 @@ void __init smp_init_cpus(void) printk(XENLOG_WARNING "cpu node `%s`: duplicate /cpu reg properties in the DT\n", dt_node_full_name(cpu)); - continue; + break; } } + if ( j != cpuidx ) + continue; /* * Build a stashed array of MPIDR values. Numbering scheme requires